-- GENERATED SPELL FOR [Flamekin Spitter] --


function spell0_9776(pUnit, Event) --@Venom Spit,n/a--
pUnit:FullCastSpellOnTarget(15664,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9776', 12500, 1)
end

function Sorts_9776(pUnit, Event)
local choix_sorts_9776 = math.random(0, 0)
if choix_sorts_9776 == 0 then
pUnit:RegisterEvent('spell0_9776', 1, 1)
end
end

function mob9776_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9776', math.random(1500, 3000), 1)
end

function mob9776_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9776_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9776_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9776, 1, 'mob9776_Action')
RegisterUnitEvent(9776, 2, 'mob9776_Leave')
RegisterUnitEvent(9776, 3, 'mob9776_Kill')
RegisterUnitEvent(9776, 4, 'mob9776_Die')
